<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>创建用户记录</title>
    <!-- 引入 Bootstrap 4 的 CSS 文件 -->
    <link rel="stylesheet" href="./css/bootstrap.min.css">
</head>
<body>
    <div class="container py-5">
        <h1 class="display-4">创建一条用户记录</h1>
        <form method="post" action="./insert.php">
            <div class="row">
                <div class="col-md-8">
                    <div class="form-group">
                        <label for="name">姓名</label>
                        <input type="text" class="form-control" name="name" placeholder="请输入你的姓名">
                    </div>
                </div>
                <div class="col-md-8">
                    <div class="form-group">
                        <label for="email">邮箱</label>
                        <input type="text" class="form-control" name="email" placeholder="请输入你的邮箱">
                    </div>
                </div>
                <div class="col-md-8">
                    <div class="form-group">
                        <label for="mobile">手机号</label>
                        <input type="text" class="form-control" name="mobile" placeholder="请输入你的手机号">
                    </div>
                </div>
            </div>
            <!-- 提交按钮放在最下面，以便所有输入字段都可见 -->
            <button type="submit" class="btn btn-primary" name="save">提交</button>
            <button type="button" class="btn btn-success"><a href="index.php">返回首页</a></button>
        </form>
    </div>
</body>
</html>